package com.iqiyi.pps.epg.web.utils;

import org.springframework.security.authentication.encoding.Md5PasswordEncoder;

/**
 * Created by IntelliJ IDEA.
 * User: luofengguang
 * Date: 11-1-11
 * Time: 下午6:36
 * To change this template use File | Settings | File Templates.
 */
public final class Md5PasswordEncoderUtil {
	private static Md5PasswordEncoder md5PasswordEncoder = new Md5PasswordEncoder();

	public static final String encode(String text){
		return md5PasswordEncoder.encodePassword(text, null);
	}
}